package com.yzw.common.exception;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author Yzw
 * @Description TODO
 * @Date 2023/5/3 18:52
 * @Version 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CustomException extends RuntimeException {
    private Integer code;//状态码
    private String msg;//异常信息
}
